import java.util.Arrays;
import java.util.Scanner;

public class Main {
    //冒泡排序
    public static void bubble_sort(int[] arr){
        int len=arr.length;
        for(int i=0;i< arr.length-1;i++)
        {
            for(int j=0;j< arr.length-1-i;j++)
            {
                if(arr[j]>arr[j+1])
                {
                    arr[j]=arr[j]^arr[j+1];
                    arr[j+1]=arr[j]^arr[j+1];
                    arr[j]=arr[j]^arr[j+1];
                }
            }
        }
    }
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int[] arr=new int[10];
        for(int i=0;i<10;i++)
        {
            arr[i]=sc.nextInt();
        }
        //Arrays.sort(arr);
        bubble_sort(arr);
        for(int i=0;i<10;i++)
        {
            if(i==arr.length-1)
                System.out.print(arr[i]);
            else
                System.out.print(arr[i]+" ");
        }
    }
}
